from django.urls import path, include

from apps.verifications.views import ImageCodeView, SmsCodeView

urlpatterns = [

    # django的类视图拥有自动查找指定方法的功能, 通过调用是通过as_view()方法实现
    path('image_codes/<uuid:uuid>/', ImageCodeView.as_view()),
    path('sms_codes/<mobile>/', SmsCodeView.as_view()),
]



